-- GENERATED SPELL FOR [Foulweald Totemic] --


function spell0_3750(pUnit, Event) --@Searing Totem,Self--
pUnit:FullCastSpellOnTarget(6363,pUnit)
pUnit:RegisterEvent('Sorts_3750', 35274, 1)
end

function Sorts_3750(pUnit, Event)
local choix_sorts_3750 = math.random(0, 0)
if choix_sorts_3750 == 0 then
pUnit:RegisterEvent('spell0_3750', 1, 1)
end
end

function mob3750_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3750', math.random(1500, 3000), 1)
end

function mob3750_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3750_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3750_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3750, 1, 'mob3750_Action')
RegisterUnitEvent(3750, 2, 'mob3750_Leave')
RegisterUnitEvent(3750, 3, 'mob3750_Kill')
RegisterUnitEvent(3750, 4, 'mob3750_Die')
